<?php 
require_once 'cache.php';
require 'db.php';

define('HD',true);

$obj = new Cache;


if(!$data=$obj->get('studen')){
	$data = query('select * from stu');
	$obj->set('studen',$data,10);
}

print_r($data);

 ?>